Methods and circuits for optimal equalization

ABSTRACT

Methods and circuits utilizing a two stage adaptation algorithm to determine the optimal code for an equalizer to compensate a received signal is disclosed. In the first stage, a coarse tuning algorithm is used to choose a range of codes based on the amplitude of the received signal. The chosen codes will be used as reference points in the second stage. In the second stage, a fine tuning algorithm is used to select a code in the range of reference codes determined in stage one. The fine tuning algorithm looks to the status of the data lock signal generated by the clock recovery circuit. If the data lock signal does not indicate a lock, the fine tuning algorithm cycles through the range of reference codes. If the data lock signal indicates a lock, then that particular code is continued to be used for the equalizer.

PRIORITY CLAIM

[0001] This application claims priority to a provisional application entitled “Hybrid Adaptation” filed on Oct. 8, 1998, having an application Ser. No. ______.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention generally relates to circuits and methods for conditioning a received signal, and, in particular, methods and circuits for determining an optimal code for an equalizer of a receiver.

[0004] 2. Description of the Prior Art

[0005] There are several approaches in implementing a receive channel in a communication system using the analog approach (an example of such system is the receive channel for a 100TX Fast Ethernet transceiver). FIG. 1 illustrates a traditional approach where the received signal is compensated by an equalizer 10. The amplitude of the equalized signal is feed to a slicer 12 and an adaptation circuit 16. The adaptation circuit 16 compares the equalized signal with a present reference voltage to determine an error signal. Base on the value of the error signal, the adaptation circuit can adjust the equalizer 10 to a different setting thereby changing the amount of the compensation to the incoming signal. FIG. 2a illustrates an example of the frequency response of a received signal. FIG. 2b illustrates the various taps (also referred to as codes) that may be selected and provided by an equalizer in compensating the received signal. FIG. 2c illustrates the desired result.

[0006] The slicer 12 slices the equalized signal with a pre-set voltage that matches the adaptation reference voltage and the sliced signal is then passed to the clock recovery circuit 14. The clock recovery circuit locates the data edge within a time window, locks to the data, and constantly adjusts itself to adapt to the incoming (equalized and sliced) signal. However, if the incoming signal has excessive jitters, the clock recovery circuit may lose the lock on the data.

[0007] There are several causes of jitter in this system. First, if the equalized signal mismatches with the fixed slice level, it can cause pulse width distortion of the sliced signal, which translates to clock jitter. Second, the transmitter, communication channel, cable, transformer, etc. can also causes excessive jitter and noise. If the combined jitter becomes large enough, the data edge may no longer be located within the time window centered by the recovery clock and the clock recovery circuit will then lose lock on the data and the data will lost. From the receiver side, there is little that can be done with the second cause of jitter. To reduce the jitter caused by the first cause, in the traditional system, the equalized signal is monitored and the setting for the equalizer is altered accordingly to minimize the error signal when compared against the provided reference signal.

[0008] The traditional system is conceptually simple. However, this system heavily relies on amplitude information and it is therefore sensitive to voltage, process, and temperature variation. Especially when the supply voltage becomes lower and lower, it is difficult to ensure that the adaptation circuit can adapt to a working code in all corner conditions.

[0009] It is therefore desirable to have a solution that allows the receiver to tolerate and operate reliably under extreme conditions and minimize the effect from voltage, process, and temperature variations.

SUMMARY OF THE INVENTION

[0010] It is therefore an object of the present invention to provide reliable receiver circuits and methods minimally affected by voltage, process, and temperature variations.

[0011] It is another object of the present invention to provide receiver circuits and methods for optimally compensating a received signal by using a variable adaptive algorithm.

[0012] It is yet another object of the present invention to provide adaptation circuits and methods for optimally compensating a received signal and minimizing errors.

[0013] Briefly, the present invention discloses methods and circuits utilizing a two stage adaptation algorithm to determine the optimal code to minimize errors. In the first stage, a coarse tuning algorithm is used to choose a range of codes based on the amplitude of the received signal. The chosen codes will be used as reference points in the second stage. In the second stage, a fine tuning algorithm is used to select a code in the range of reference codes determined in stage one. The fine tuning algorithm looks to the status of the data lock signal generated by the clock recovery circuit. If the data lock signal does not indicate a lock, the fine tuning algorithm cycles through the range of reference codes. If the data lock signal indicates a lock, then that particular code is continued to be used for the equalizer.

[0014] An advantage of the present invention is that it provides reliable receiver circuits and methods minimally affected by voltage, process, and temperature variations.

[0015] Another advantage of the present invention is that it provides receiver circuits and methods for optimally compensating a received signal by using a variable adaptive algorithm.

[0016] Yet another advantage of the present invention is that it provides adaptation circuits and methods for optimally compensating a received signal and minimizing errors. These and other features and advantages of the present invention will become well understood upon examining the figures and reading the following detailed description of the invention.

IN THE DRAWINGS

[0017]FIG. 1 illustrates a prior art receiver.

[0018]FIGS. 2a-2 c illustrate the frequency response of the received signal, the frequency responses of the various compensation signals, and the desired frequency response after compensation.

[0019]FIG. 3 illustrates a block diagram of the preferred circuit blocks of the present invention.

[0020]FIG. 4 illustrates a flow chart detailing the method steps of the preferred embodiment of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] In a presently preferred embodiments of the present invention, a novel circuit and method for a receiver circuit and adaptation algorithm is disclosed. Referring to FIG. 3, the received signal is first equalized by an equalizer 30. The equalized signal is fed to a slicer 32 and an adaptation circuit 40. The slicer 32 slices the equalized signal and fed it to the clock recovery circuit 34. The clock recovery circuit 34 provides an output and a data lock signal. The adaptation circuit 40 includes two blocks, a coarse algorithm block 36 and a fine tune algorithm block 38. The coarse algorithm block 36 determines a range of codes and the fine tuning block 38 selects a particular code from the range of codes in response to the data lock signal. The selected code is communicated to the equalizer accordingly.

[0022]FIG. 4 illustrates a flow chart detailing the algorithm of both coarse tuning and fine tuning in selecting the best code. First, the corresponding circuit to this embodiment is reset and initialized (block 60). In the next step 62, the equalizer is set to use code 0. Then, the equalized signal is compared to a Lower Limit reference signal 64. The Lower Limit reference signal and Upper Limit reference signal are pre-set signals. If the amplitude of the equalized signal is below the amplitude of the Lower Limit reference signal, the code is increased by one 66 and the comparison is made again. If the amplitude of the equalized signal is greater than or equal to the amplitude of the Lower Limit reference signal, the current code value is recorded as the Lower Limit value 68. In the next step 70, the equalized signal is compared to the Upper Limit reference signal. If the amplitude of the equalized signal is below the amplitude of the Upper Limit reference signal, the code is increased by one 72 and the comparison is made again. If the amplitude of the equalized signal is greater than or equal to the amplitude of the Upper Limit reference signal, the current code value is recorded as the Upper Limit value 74. These steps constitute the coarse tuning algorithm. In the next step 76, the data lock signal (generated by the clock recovery circuit) is checked. If the data lock signal indicates that the data (the equalized and sliced signal) is locked, the code currently used by the equalizer is optimal and no action is needed. The check is continuously made to ensure an optimal code. If the data lock signal indicates that the data is not locked, the code currently used by the equalizer is then not optimal and a different code should be selected between the Upper Limit value and the Lower Limit value and communicated to the equalizer 78. The method in selecting a code from the range of code between the Upper Limit value and the Lower Limit value can be any method. A simple method in simply cycling through the range values one at a time can be used or a complex method in determining the direction of the error value can be used as well.

[0023] While the present invention has been described with reference to certain preferred embodiments, it is to be understood that the present invention is not to be limited to such specific embodiments. Rather, it is the inventor's intention that the invention be understood and construed in its broadest meaning as reflected by the following claims. Thus, these claims are to be understood as incorporating and not only the preferred embodiment described herein but all those other and further alterations and modifications as would be apparent to those of ordinary skill in the art. 

What we claim are:
 1. A adaptation circuit for generating a code for an equalizer, said circuit comprising: a coarse tuning circuit; and a fine tuning circuit receiving a data lock signal to generate a code value. 